package cqcvc.edu.cn.entity;

import java.util.Arrays;
import java.util.Date;

public class OrgInfo {
    private Long id;
    private String orgTitle;
    private String orgbDetail;
    private byte[] orgPic;
    private Date createDate;
    private Integer showOrder;
    private String ifShow;

    public OrgInfo() {
    }

    public OrgInfo(String orgTitle, Date createdate, Integer showOrder,
                   String ifShow) {
        this.orgTitle = orgTitle;
        this.createDate = createdate;
        this.showOrder = showOrder;
        this.ifShow = ifShow;
    }

    public OrgInfo(String orgTitle, String orgbDetail, byte[] orgPic,
                   Date createdate, Integer showOrder, String ifShow) {
        this.orgTitle = orgTitle;
        this.orgbDetail = orgbDetail;
        this.orgPic = orgPic;
        this.createDate = createdate;
        this.showOrder = showOrder;
        this.ifShow = ifShow;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrgTitle() {
        return orgTitle;
    }

    public void setOrgTitle(String orgTitle) {
        this.orgTitle = orgTitle;
    }

    public String getOrgbDetail() {
        return orgbDetail;
    }

    public void setOrgbDetail(String orgbDetail) {
        this.orgbDetail = orgbDetail;
    }

    public byte[] getOrgPic() {
        return orgPic;
    }

    public void setOrgPic(byte[] orgPic) {
        this.orgPic = orgPic;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createdate) {
        this.createDate = createdate;
    }

    public Integer getShowOrder() {
        return showOrder;
    }

    public void setShowOrder(Integer showOrder) {
        this.showOrder = showOrder;
    }

    public String getIfShow() {
        return ifShow;
    }

    public void setIfShow(String ifShow) {
        this.ifShow = ifShow;
    }

    @Override
    public String toString() {
        return "OrgInfo{" +
                "id=" + id +
                ", orgTitle='" + orgTitle + '\'' +
                ", orgbDetail='" + orgbDetail + '\'' +
                ", orgPic=" + Arrays.toString(orgPic) +
                ", createdate=" + createDate +
                ", showOrder=" + showOrder +
                ", ifShow='" + ifShow + '\'' +
                '}';
    }
}
